package com.iwdnb.gkgz.common.enums;

import java.math.BigDecimal;
import java.util.List;

import com.iwdnb.bmnf.common.enums.CodeMessage;
import com.iwdnb.gkgz.common.model.dto.StockDayData;
import com.iwdnb.gkgz.common.utils.BigDecimalUtils;

import static com.iwdnb.gkgz.common.utils.StockUtils.getAveragePrice;

public enum StockSellTypeEnums implements CodeMessage {
    getRiseUpData("getRiseUpData", "股价爆拉",""),
    getDivergeData("getDivergeData", "股价拉升MACD顶背离",""),
    getAveragePressData("getAveragePressData", "均线压力位遇阻",""),
    getAverageReverseLtOpenPriceData("getAverageReverseLtOpenPriceData", "暴跌后反弹遇阻",""),
    getExplodedData("getExplodedData", "涨停后炸板",""),
    getStopLossData("getStopLossData", "跌破止损位",""),
    UP_DOWN_UP_BIG("udub", "先涨后跌再涨更多",""),
    UP_DOWN_UP_SMALL("udus", "先涨后跌再涨回少许",""),
    ;

    private String code;
    private String message;
    private String description;

    StockSellTypeEnums(String code, String message, String description) {
        this.code = code;
        this.message = message;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public String getDescription() {
        return description;
    }
}
